;CHECKS

[@main]
#IF
checknamelist MultiKill/Variables/6.txt
#ACT
goto @main4
break

#IF
checknamelist MultiKill/Variables/5.txt
#ACT
goto @3
break

#IF
checknamelist MultiKill/Variables/4.txt
#ACT
goto @main3
break

#IF
checknamelist MultiKill/Variables/3.txt
#ACT
goto @2
break

#IF
checknamelist MultiKill/Variables/2.txt
#ACT
goto @main2
break

#IF
checknamelist MultiKill/Variables/1.txt
#ACT
goto @1
break

#ELSEACT
goto @main1


;; Main output

[@main1]
<Hello, my name is MultiKill!>\  \
Welcome, you have now found me! I am new to the world of\
RaGEZONE and I have many many many challanges for you, if\
you wish to accept these challanges, let me know at any\
time!\
<Begin Quest 1/@quest1> -- <Exit/@exit>


;; Quest 1


[@quest1]
#ACT
addnamelist MultiKill/Variables/1.txt
SET [400] 1
Var Integer Human MultiKill1 1
sendmsg 6 "Kill 20 Deers! Come back when you have!"
close

[@1]
#IF
CheckVar Human MultiKill1 > 19
#ACT
goto @1.1
#ELSEACT
goto @1.2

[@1.1]
#ACT
delnamelist MultiKill/Variables/1.txt
addnamelist MultiKill/Variables/2.txt
goto @1.3
sendmsg 6 "Congratulations, Quest 1 Complete!"

[@1.2]
<Hello, my name is MultiKill!>\  \
You have currently killed <$HUMAN(MultiKill1)> Deers, come back when\
you have killed 20!.\
<exit/@exit>

[@1.3]
<Hello, my name is MultiKill!>\  \
That was just a warm up, there is no reward for that, but least I\
now know you are worthy to continue, talk to me at any other time\
to begin more quests!\
<exit/@exit>


;; Quest 2

[@main2]
<Hello, my name is MultiKill!>\  \
So, you want another challange huh! Well, this one will be of\
course much harder, so, if you think you have what it takes then\
this one is made for endurance, think you have what it takes? If\
you can complete this one, I will grant you a reward!\
<Begin Quest 2/@quest2> -- <Exit/@exit>


[@quest2]
#ACT
delnamelist MultiKill/Variables/2.txt
addnamelist MultiKill/Variables/3.txt
reset [400] 1
SET [401] 1
Var Integer Human MultiKill2 1
sendmsg 6 "Kill 50 Sheep! Come back when you have!"
close

[@2]
#IF
CheckVar Human MultiKill2 > 49
#ACT
goto @2.1
#ELSEACT
goto @2.2

[@2.1]
#IF
checkjob wizard
#ACT
goto @2.11
break
#IF
checkjob taoist
#ACT
goto @2.22
break
#IF
checkjob warrior
#ACT
goto @2.33
break


[@2.11]
#ACT
delnamelist MultiKill/Variables/3.txt
addnamelist MultiKill/Variables/4.txt
give magicshell 1
give benedictionoil 1
give gold 100000 
goto @2.3
sendmsg 6 "Congratulations, Quest 2 Complete!"

[@2.22]
#ACT
delnamelist MultiKill/Variables/3.txt
addnamelist MultiKill/Variables/4.txt
give soulshell 1
give benedictionoil 1
give gold 100000 
goto @2.3
sendmsg 6 "Congratulations, Quest 2 Complete!"

[@2.33]
#ACT
delnamelist MultiKill/Variables/3.txt
addnamelist MultiKill/Variables/4.txt
give braveryshell 1
give benedictionoil 1
give gold 100000 
goto @2.3
sendmsg 6 "Congratulations, Quest 2 Complete!"

[@2.2]
<Hello, my name is MultiKill!>\  \
You have currently killed <$HUMAN(MultiKill2)> Sheep, come back when\
you have killed 50!.\
<exit/@exit>

[@2.3]
<Hello, my name is MultiKill!>\  \
Congratulations, 50 Sheep is a very long process, as for that I gave\
you a small reward, I am sure you will find a use for these items!!!\
<exit/@exit>

;; Quest 3

[@main3]
<Hello, my name is MultiKill!>\  \
So so so, so, you are back for more huh! Well, wise guy! This one will\
require strengh, not just on you're own, muahah!! Oh and i must stress\
that, this is not for the weak, Best of luck, muaha!\
<Begin Quest 3/@quest3> -- <Exit/@exit>


[@quest3]
#ACT
addnamelist MultiKill/Variables/5.txt
delnamelist MultiKill/Variables/4.txt
reset [401] 1
SET [402] 1
Var Integer Human MultiKill3 1
sendmsg 6 "Kill 15 Real White Evil Boars in ST7! Good luck!"
close

[@3]
#IF
CheckVar Human MultiKill3 > 14
#ACT
goto @3.1
#ELSEACT
goto @3.2

[@3.1]
#ACT
delnamelist MultiKill/Variables/5.txt
addnamelist MultiKill/Variables/6.txt
give revivalviel 3
give apple 3
give goldbar 2
goto @3.3
sendmsg 6 "Congratulations, Quest 3 Complete!"


[@3.2]
<Hello, my name is MultiKill!>\  \
You have currently killed <$Human(MultiKill3)> WEB's, come back when\
you have killed 15!.\
<exit/@exit>

[@3.3]
<Hello, my name is MultiKill!>\  \
Congratulations, 15 WEB's not on you're own must have been a challange\
especially when they are real, anyways!!! Hope you enjoyed your reward\
<exit/@exit>

;; Quest 4

[@main4]
Thanks for testing! More sooN!